package com.czwx.bee.base.common.interfaces;

/**
 * @Author:wiki
 * @Date:Create in 2018/7/3 0003 下午 3:19
 * 用户类型（0.超级管理员1.商户管理员2.商户用户）
 */
public enum BpUserTypeEnum {
    //'0停用1正常
    SUPER_ADMIN(0,"超级管理员"),
    SHOP_ADMIN(1,"商户管理员"),
    SHOP_USER(2,"商户用户");

    BpUserTypeEnum(Integer code, String msg) {
        this.code=code;
        this.msg=msg;

    }

    private Integer code;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


    public final static String getAll(){
        BpUserTypeEnum.values().toString();
       String ss="";
        for (BpUserTypeEnum e : BpUserTypeEnum.values()) {
            ss+=e.toString()+",";
        }
        return ss;
    }
}
